﻿using Abp.Application.Features;
using System;
using System.Collections.Generic;
using System.Text;

namespace Partner.Surround.Features.Dto
{
    public class FeatureDto
    {
        //
        // 摘要:
        //     Arbitrary objects related to this object. These objects must be serializable.
        //public Dictionary<string, object> Attributes { get; set; }

        //
        // 摘要:
        //     Parent of this feature, if one exists. If set, this feature can be enabled only
        //     if the parent is enabled.
        //public FeatureDto Parent { get; set; }

        //
        // 摘要:
        //     Unique name of the feature.
        public string Name { get; set; }

        //
        // 摘要:
        //     Default value of this feature. This value is used if this feature's value is
        //     not defined for the current edition or tenant.
        public string DefaultValue { get; set; }

        //
        // 摘要:
        //     Feature's scope.
        public FeatureScopes Scope { get; set; }

        //
        // 摘要:
        //     List of child features.
        public List<FeatureDto> Children { get; set; }
    }
}
